package uk.ac.bath.gui;
import java.awt.*;
import javax.swing.*;


class TweakerPanel_1 extends JPanel {

    GridBagConstraints c;

    TweakerPanel_1() {
	setLayout(new GridBagLayout());

	c = new GridBagConstraints();
	c.ipadx=2;
	c.ipady=1;
	c.gridy=0;
	c.fill = GridBagConstraints.HORIZONTAL;
 	c.weightx=1.0;
 	c.weighty=1.0;
    }

    void add(JComponent label,JComponent cntrl) {
	c.gridy++;
	c.gridx=0;
	add(label,c);
	c.gridx++;
	add(cntrl,c);
    }
	
}
